gl: avoid copying GskGLCachedGlyph in lookup
authorChristian Hergert <chergert@redhat.com>
Wed, 9 Oct 2019 21:27:48 +0000 (14:27 -0700)
committerChristian Hergert <chergert@redhat.com>
Wed, 9 Oct 2019 21:37:08 +0000 (14:37 -0700)
commite32c992886a5179d2990cdd440f1d8fa73414411
treee1427d67820956d7e391ba863b0201e7b322aeef
parentc7a5d992869f04f3401af44bde640244c6fbb275
gl: avoid copying GskGLCachedGlyph in lookup

This saves a minor amount of CPU time by avoiding the copy of structure
on each lookup (which is short-lived).
gsk/gl/gskglglyphcache.c
gsk/gl/gskglglyphcacheprivate.h
gsk/gl/gskglrenderer.c